package com.zoe.onelink.business.constant;

/**
 * <p>标题: 缓存用常量</p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2016</p>
 * <p>公司: 智业软件股份有限公司</p>
 *
 * @version: 1.0
 * @author: cxy
 * @date 2016/12/29
 */
public final class CacheConst {

    /**
     * 员工级别参数名称前缀
     */
    public static final String STAFF_TYPE_PARAMS_PRE = "PARAMS:BIZ:STAFF:";

    /**
     * 科室级别参数名称前缀
     */
    public static final String DEPT_TYPE_PARAMS_PRE = "PARAMS:BIZ:DEPT:";

    /**
     * 院区级别参数名称前缀
     */
    public static final String DISTRICT_TYPE_PARAMS_PRE = "PARAMS:BIZ:DISTRICT:";

    /**
     * 全局默认参数前缀
     */
    public static final String GLOBAL_TYPE_PARAMS_PRE = "PARAMS:BIZ:GLOBAL:";

    /**
     * 全部参数前缀
     */
    public static final String PARAMS_ALL_MATCH_PRE = "PARAMS:*";

    /**
     * 参数匹配前缀
     */
    public static final String PARAMS_BIZ_NAME_MATCH_PRE = "PARAMS:BIZ:*:";

    /**
     * 运维参数配置前缀
     */
    public static final String OPS_TYPE_PARAMS_WEB_URL_PRE = "PARAMS:OPS:SERVER:WEB_URLS:";

    /**
     * 运维服务地址前缀
     */
    public static final String OPS_SERVER_WEB_URL_PRE = "PARAMS:OPS:SERVER:WEB_URLS:";


    /**
     * 个人级别参数
     */
    public static final String USER_PARAMS_NAME = "staff";

    /**
     * 科室级别参数
     */
    public static final String DEPT_PARAMS_NAME = "dept";

    /**
     * 院区级别参数
     */
    public static final String DISTRICT_PARAMS_NAME = "district";    /**

     * 全局级别参数
     */
    public static final String GLOBAL_PARAMS_NAME = "global";

    /**
     * 国际化KEY前缀
     */
    public static final String I18N_KEY_PRE = "I18N:";

    public static final String CACHE_INIT_SWITCH_NAME = "cacheinit.enable";

    private CacheConst() {
    }

}
